package com.lin.sys.dao;

import com.lin.common.config.MyMapper;
import com.lin.sys.entity.SysMenu;


import java.util.List;

public interface SysMenuMapper extends MyMapper<SysMenu> {

    List<SysMenu> findUserPermissions(Long userid);

    void changeMenuToTop(Long id);

    List<SysMenu> findUserMenus(Long userId);
}